package com.gildedrose.item;

import com.gildedrose.vo.Quality;

public class Conjured extends ItemAdapter {
    public Conjured(int sellIn, Quality quality) {
        super("Conjured Mana Cake", sellIn, quality);
    }

    // "Conjured"物品的品质`Quality`下降速度比正常物品快一倍
    @Override
    public void updateQuality() {
        if (quality > 0) {
            quality = quality - 2;
        }
    }
}
